package com.lys.dao;

import java.util.List;

import com.lys.po.Account;

public interface IAccountDAO {

	public abstract void save(Account transientInstance);

	public abstract void delete(Account persistentInstance);

	public abstract Account findById(java.lang.Long id);

	public abstract List<Account> findByExample(Account instance);

	public abstract List findByProperty(String propertyName, Object value);

	public abstract List<Account> findByUserid(Object userid);

	public abstract List<Account> findByEmail(Object email);

	public abstract List<Account> findByFirstname(Object firstname);

	public abstract List<Account> findByLastname(Object lastname);

	public abstract List<Account> findByStatus(Object status);

	public abstract List<Account> findByAddr1(Object addr1);

	public abstract List<Account> findByAddr2(Object addr2);

	public abstract List<Account> findByCity(Object city);

	public abstract List<Account> findByState(Object state);

	public abstract List<Account> findByZip(Object zip);

	public abstract List<Account> findByCountry(Object country);

	public abstract List<Account> findByPhone(Object phone);

	public abstract List<Account> findByHobbies(Object hobbies);

	public abstract List<Account> findByIsvip(Object isvip);

	public abstract List findAll();

	public abstract Account merge(Account detachedInstance);

	public abstract void attachDirty(Account instance);

	public abstract void attachClean(Account instance);

}